package com.bootdo.crm.dao;

import com.bootdo.crm.domain.ContactsDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 联系人表
 * @author cui
 * @email 1992lcg@163.com
 * @date 2020-02-20 13:14:28
 */
@Mapper
public interface ContactsDao {

	ContactsDO get(Integer contactsId);
	
	List<ContactsDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ContactsDO contacts);
	
	int update(ContactsDO contacts);
	
	int remove(Integer contacts_id);
	
	int batchRemove(Integer[] contactsIds);
}
